/*
 * iaqcore.h
 *
 * Created: 2019/8/9 14:33:01
 *  Author: YY
 */ 


#ifndef IAQCORE_H_
#define IAQCORE_H_

#include <atmel_start.h>
#include "mx_debug.h"
#include "mx_common.h"

#include "alicloud_ilop.h"
#include "drv_board.h"
#include "main.h"



typedef struct{
	uint16_t co2;
	uint8_t status;
	uint32_t res;
	uint16_t tvoc;
}IAQ_VAL;


void iaq_read(void);
void iaq_disp(void);

extern IAQ_VAL iaq_val;

extern struct io_descriptor *I2C_0_io;

#endif /* IAQCORE_H_ */